# diagnosticsClearButton object example

The following example shows the diagnosticsClearButton object:

`<diagnosticsClearButton name="DiagnosticsClearButton1" height="46" width="140" left="14" top="16" visible="true" wallpaper="false" isReferenceObject="false" audio="true" backColor="navy" backStyle="solid" borderStyle="raisedInset" borderUsesBackColor="true" borderWidth="4" description="Clear Diagnostics" highlightColor="lime" borderColor="navy" patternColor="white" patternStyle="none" horizontalMargin="0" verticalMargin="0" shape="rectangle" touch="true" blink="false" linkedObject="DiagnosticsList1" sendPressTo="linkedObject" keyAssignment="K8">`

`<caption fontFamily="Arial" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" caption="DIAGNOSTICS CLEAR" color="white" backColor="navy" backStyle="transparent" alignment="middleCenter" wordWrap="false" blink="false" />`

`<imageSettings imageName="Enter" alignment="bottomRight" backStyle="transparent" color="white" backColor="navy" scaled="false" blink="false" />`

`<animations>`

`<animateVisibility expression="TestTag7" expressionTrueState="visible" />`

`</animations>`

`</diagnosticsClearButton>`

## See also

Diagnostic and information objects: diagnosticsClearButton object

diagnosticsClearButton object attributes and elements